<template>
    <!-- 批量删除 -->
    <el-button type="danger" plain @click="toDelete" size="mini">批量删除</el-button>
</template>
<script>
export default {
    //删除-传给父组件，ajax
    methods:{
        toDelete() {
      this.$emit("toDeleteBatches", "点击了删除");
    },
    }
}
</script>